package com.jumi.microservice.dto.wdt;

import com.jumi.microservice.common.base.dto.BaseResponse;

import java.util.Date;

/**
 * @author Dirk
 * @Date 2020-08-21 13:52
 */
public class WdtLogisticsResponse extends BaseResponse {

    /**
     * 主键,用于logistics_sync_ack回写状态
     */
    private Integer rec_id;

    /**
     * 代表店铺所有属性的唯一编码，用于店铺区分，ERP内支持自定义（ERP店铺界面设置）
     */
    private String shop_no;

    /**
     * 原始订单编号，商城或平台订单号
     */
    private String tid;

    /**
     * 物流或者快递面单对应的编号
     */
    private String logistics_no;

    /**
     * 响应值为代表物流方式的数字
     */
    private Integer logistics_type;

    /**
     * 发货条件
     * 1款到发货 2货到付款(包含部分货到付款) 3分期付款
     */
    private Byte delivery_term;

    /**
     * 发货时间
     * 时间格式：yyyy-MM-dd HH:mm:ss
     */
    private Date consign_time;

    /**
     * 是否拆分发货
     * 是否拆分发货,1:拆单发货,0:不进行拆单发货
     */
    private String is_part_sync;

    /**
     * 原始子订单
     * 子订单编号串，以逗号(,) 分隔,并且长度不固定(is_part_sync非0时才有效)
     */
    private String oids;

    /**
     * 平台ID
     */
    private Byte platform_id;

    /**
     * 订单ID
     */
    private Integer trade_id;

    /**
     * erp物流编号
     */
    private String logistics_code_erp;

    /**
     * erp物流公司名称
     */
    private String logistics_name_erp;

    /**
     * 物流公司名称
     */
    private String logistics_name;

    /**
     * 出库单id
     */
    private Integer stockout_id;

    /**
     * 是否同步
     */
    private Integer is_need_sync;

    /**
     * 同步状态
     */
    private Integer sync_status;

    /**
     * 是否需要多次同步
     */
    private Integer is_last;

    /**
     * 店铺id
     */
    private Integer shop_id;

    /**
     * 物流id
     */
    private Integer logistics_id;

    /**
     * 描述
     */
    private String description;

    /**
     * 同步时间
     */
    private Date sync_time;

    /**
     * 在线
     */
    private Byte is_online;

    /**
     * 错误码
     */
    private String error_code;

    /**
     * 错误描述
     */
    private String error_msg;

    /**
     * 重试次数
     */
    private Byte try_times;

    /**
     * 最后修改时间
     */
    private Date modified;

    /**
     * 创建时间
     */
    private Date created;

    public Integer getRec_id() {
        return rec_id;
    }

    public void setRec_id(Integer rec_id) {
        this.rec_id = rec_id;
    }

    public String getShop_no() {
        return shop_no;
    }

    public void setShop_no(String shop_no) {
        this.shop_no = shop_no;
    }

    public String getTid() {
        return tid;
    }

    public void setTid(String tid) {
        this.tid = tid;
    }

    public String getLogistics_no() {
        return logistics_no;
    }

    public void setLogistics_no(String logistics_no) {
        this.logistics_no = logistics_no;
    }

    public Integer getLogistics_type() {
        return logistics_type;
    }

    public void setLogistics_type(Integer logistics_type) {
        this.logistics_type = logistics_type;
    }

    public Byte getDelivery_term() {
        return delivery_term;
    }

    public void setDelivery_term(Byte delivery_term) {
        this.delivery_term = delivery_term;
    }

    public Date getConsign_time() {
        return consign_time;
    }

    public void setConsign_time(Date consign_time) {
        this.consign_time = consign_time;
    }

    public String getIs_part_sync() {
        return is_part_sync;
    }

    public void setIs_part_sync(String is_part_sync) {
        this.is_part_sync = is_part_sync;
    }

    public String getOids() {
        return oids;
    }

    public void setOids(String oids) {
        this.oids = oids;
    }

    public Byte getPlatform_id() {
        return platform_id;
    }

    public void setPlatform_id(Byte platform_id) {
        this.platform_id = platform_id;
    }

    public Integer getTrade_id() {
        return trade_id;
    }

    public void setTrade_id(Integer trade_id) {
        this.trade_id = trade_id;
    }

    public String getLogistics_code_erp() {
        return logistics_code_erp;
    }

    public void setLogistics_code_erp(String logistics_code_erp) {
        this.logistics_code_erp = logistics_code_erp;
    }

    public String getLogistics_name_erp() {
        return logistics_name_erp;
    }

    public void setLogistics_name_erp(String logistics_name_erp) {
        this.logistics_name_erp = logistics_name_erp;
    }

    public String getLogistics_name() {
        return logistics_name;
    }

    public void setLogistics_name(String logistics_name) {
        this.logistics_name = logistics_name;
    }

    public Integer getStockout_id() {
        return stockout_id;
    }

    public void setStockout_id(Integer stockout_id) {
        this.stockout_id = stockout_id;
    }

    public Integer getIs_need_sync() {
        return is_need_sync;
    }

    public void setIs_need_sync(Integer is_need_sync) {
        this.is_need_sync = is_need_sync;
    }

    public Integer getSync_status() {
        return sync_status;
    }

    public void setSync_status(Integer sync_status) {
        this.sync_status = sync_status;
    }

    public Integer getIs_last() {
        return is_last;
    }

    public void setIs_last(Integer is_last) {
        this.is_last = is_last;
    }

    public Integer getShop_id() {
        return shop_id;
    }

    public void setShop_id(Integer shop_id) {
        this.shop_id = shop_id;
    }

    public Integer getLogistics_id() {
        return logistics_id;
    }

    public void setLogistics_id(Integer logistics_id) {
        this.logistics_id = logistics_id;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public Date getSync_time() {
        return sync_time;
    }

    public void setSync_time(Date sync_time) {
        this.sync_time = sync_time;
    }

    public Byte getIs_online() {
        return is_online;
    }

    public void setIs_online(Byte is_online) {
        this.is_online = is_online;
    }

    public String getError_code() {
        return error_code;
    }

    public void setError_code(String error_code) {
        this.error_code = error_code;
    }

    public String getError_msg() {
        return error_msg;
    }

    public void setError_msg(String error_msg) {
        this.error_msg = error_msg;
    }

    public Byte getTry_times() {
        return try_times;
    }

    public void setTry_times(Byte try_times) {
        this.try_times = try_times;
    }

    public Date getModified() {
        return modified;
    }

    public void setModified(Date modified) {
        this.modified = modified;
    }

    public Date getCreated() {
        return created;
    }

    public void setCreated(Date created) {
        this.created = created;
    }
}
